package org.edu.modules.portal.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.jeecgframework.poi.excel.annotation.Excel;

import java.io.Serializable;

@TableName("ve_site_link")
@ApiModel(value = "ve_site_link对象", description = "链接信息列表")
public class VeSiteLink implements Serializable {
    private static final long serialVersionUID = 1L;
    @TableId(type = IdType.AUTO)
    @ApiModelProperty("id")
    private Integer id;
    @Excel(name = "栏目ID", width = 15.0D)
    @ApiModelProperty("栏目ID")
    private Integer cateid;
    @Excel(name = "标题", width = 15.0D)
    @ApiModelProperty("标题")
    private String title;
    @Excel(name = "缩略图文件ID", width = 15.0D)
    @ApiModelProperty("缩略图文件ID")
    private Integer thumbid;
    @Excel(name = "链接地址", width = 15.0D)
    @ApiModelProperty("链接地址")
    private String url;

    public org.edu.modules.portal.entity.VeSiteLink setId(Integer id) {
        this.id = id;
        return this;
    }

    @Excel(name = "添加时间", width = 15.0D)
    @ApiModelProperty("添加时间")
    private Integer addtime;
    @Excel(name = "更新时间", width = 15.0D)
    @ApiModelProperty("更新时间")
    private Integer updatetime;
    @Excel(name = "排序", width = 15.0D)
    @ApiModelProperty("排序")
    private Integer listsort;
    @Excel(name = "站点ID", width = 15.0D)
    @ApiModelProperty("站点ID")
    private Integer siteid;
    @Excel(name = "终端系统ID", width = 15.0D)
    @ApiModelProperty("终端系统ID")
    private Integer terminalid;
    @Excel(name = "多租户id", width = 15.0D)
    @ApiModelProperty("多租户id")
    private Integer placeId;

    public org.edu.modules.portal.entity.VeSiteLink setCateid(Integer cateid) {
        this.cateid = cateid;
        return this;
    }

    public org.edu.modules.portal.entity.VeSiteLink setTitle(String title) {
        this.title = title;
        return this;
    }

    public org.edu.modules.portal.entity.VeSiteLink setThumbid(Integer thumbid) {
        this.thumbid = thumbid;
        return this;
    }

    public org.edu.modules.portal.entity.VeSiteLink setUrl(String url) {
        this.url = url;
        return this;
    }

    public org.edu.modules.portal.entity.VeSiteLink setAddtime(Integer addtime) {
        this.addtime = addtime;
        return this;
    }

    public org.edu.modules.portal.entity.VeSiteLink setUpdatetime(Integer updatetime) {
        this.updatetime = updatetime;
        return this;
    }

    public org.edu.modules.portal.entity.VeSiteLink setListsort(Integer listsort) {
        this.listsort = listsort;
        return this;
    }

    public org.edu.modules.portal.entity.VeSiteLink setSiteid(Integer siteid) {
        this.siteid = siteid;
        return this;
    }

    public org.edu.modules.portal.entity.VeSiteLink setTerminalid(Integer terminalid) {
        this.terminalid = terminalid;
        return this;
    }

    public org.edu.modules.portal.entity.VeSiteLink setPlaceId(Integer placeId) {
        this.placeId = placeId;
        return this;
    }

    public String toString() {
        return "VeSiteLink(id=" + getId() + ", cateid=" + getCateid() + ", title=" + getTitle() + ", thumbid=" + getThumbid() + ", url=" + getUrl() + ", addtime=" + getAddtime() + ", updatetime=" + getUpdatetime() + ", listsort=" + getListsort() + ", siteid=" + getSiteid() + ", terminalid=" + getTerminalid() + ", placeId=" + getPlaceId() + ")";
    }


    public boolean equals(Object o) {
        if (o == this) return true;
        if (!(o instanceof org.edu.modules.portal.entity.VeSiteLink)) return false;
        org.edu.modules.portal.entity.VeSiteLink other = (org.edu.modules.portal.entity.VeSiteLink) o;
        if (!other.canEqual(this)) return false;
        Object this$id = getId(), other$id = other.getId();
        if ((this$id == null) ? (other$id != null) : !this$id.equals(other$id)) return false;
        Object this$cateid = getCateid(), other$cateid = other.getCateid();
        if ((this$cateid == null) ? (other$cateid != null) : !this$cateid.equals(other$cateid)) return false;
        Object this$thumbid = getThumbid(), other$thumbid = other.getThumbid();
        if ((this$thumbid == null) ? (other$thumbid != null) : !this$thumbid.equals(other$thumbid)) return false;
        Object this$addtime = getAddtime(), other$addtime = other.getAddtime();
        if ((this$addtime == null) ? (other$addtime != null) : !this$addtime.equals(other$addtime)) return false;
        Object this$updatetime = getUpdatetime(), other$updatetime = other.getUpdatetime();
        if ((this$updatetime == null) ? (other$updatetime != null) : !this$updatetime.equals(other$updatetime))
            return false;
        Object this$listsort = getListsort(), other$listsort = other.getListsort();
        if ((this$listsort == null) ? (other$listsort != null) : !this$listsort.equals(other$listsort)) return false;
        Object this$siteid = getSiteid(), other$siteid = other.getSiteid();
        if ((this$siteid == null) ? (other$siteid != null) : !this$siteid.equals(other$siteid)) return false;
        Object this$terminalid = getTerminalid(), other$terminalid = other.getTerminalid();
        if ((this$terminalid == null) ? (other$terminalid != null) : !this$terminalid.equals(other$terminalid))
            return false;
        Object this$placeId = getPlaceId(), other$placeId = other.getPlaceId();
        if ((this$placeId == null) ? (other$placeId != null) : !this$placeId.equals(other$placeId)) return false;
        Object this$title = getTitle(), other$title = other.getTitle();
        if ((this$title == null) ? (other$title != null) : !this$title.equals(other$title)) return false;
        Object this$url = getUrl(), other$url = other.getUrl();
        return !((this$url == null) ? (other$url != null) : !this$url.equals(other$url));
    }

    protected boolean canEqual(Object other) {
        return other instanceof org.edu.modules.portal.entity.VeSiteLink;
    }

    public int hashCode() {
        int PRIME = 59;
        Integer result = 1;
        Object $id = getId();
        result = result * 59 + (($id == null) ? 43 : $id.hashCode());
        Object $cateid = getCateid();
        result = result * 59 + (($cateid == null) ? 43 : $cateid.hashCode());
        Object $thumbid = getThumbid();
        result = result * 59 + (($thumbid == null) ? 43 : $thumbid.hashCode());
        Object $addtime = getAddtime();
        result = result * 59 + (($addtime == null) ? 43 : $addtime.hashCode());
        Object $updatetime = getUpdatetime();
        result = result * 59 + (($updatetime == null) ? 43 : $updatetime.hashCode());
        Object $listsort = getListsort();
        result = result * 59 + (($listsort == null) ? 43 : $listsort.hashCode());
        Object $siteid = getSiteid();
        result = result * 59 + (($siteid == null) ? 43 : $siteid.hashCode());
        Object $terminalid = getTerminalid();
        result = result * 59 + (($terminalid == null) ? 43 : $terminalid.hashCode());
        Object $placeId = getPlaceId();
        result = result * 59 + (($placeId == null) ? 43 : $placeId.hashCode());
        Object $title = getTitle();
        result = result * 59 + (($title == null) ? 43 : $title.hashCode());
        Object $url = getUrl();
        return result * 59 + (($url == null) ? 43 : $url.hashCode());
    }


    public Integer getId() {
        return this.id;
    }

    public Integer getCateid() {
        return this.cateid;
    }

    public String getTitle() {
        return this.title;
    }

    public Integer getThumbid() {
        return this.thumbid;
    }

    public String getUrl() {
        return this.url;
    }

    public Integer getAddtime() {
        return this.addtime;
    }

    public Integer getUpdatetime() {
        return this.updatetime;
    }

    public Integer getListsort() {
        return this.listsort;
    }

    public Integer getSiteid() {
        return this.siteid;
    }

    public Integer getTerminalid() {
        return this.terminalid;
    }

    public Integer getPlaceId() {
        return this.placeId;
    }
}



